﻿capital = 268
#German West Asia
oob = "DJI_AFR"
starting_train_buffer = 2.0
set_convoys = 34

if = {
	limit = {
		NOT = { has_dlc = "No Step Back" }
	}
	set_technology = {
		gwtank = 1
		basic_light_tank = 1
		basic_heavy_tank = 1
	}
}
if = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = {
		gwtank_chassis = 1
		basic_light_tank_chassis = 1
		improved_light_tank_chassis = 1
		basic_heavy_tank_chassis = 1
		engine_tech_1 = 1
	}
}
set_technology = {
	###MOD ###
	basic_train = 1
	camelry = 1
	###General ###
	electronic_mechanical_engineering = 1

	###INF ###
	infantry_weapons = 1
	infantry_weapons1 = 1
	tech_support = 1
	tech_recon = 1
	tech_engineers = 1
	tech_mountaineers = 1
	tech_trucks = 1
	motorised_infantry = 1
	gw_artillery = 1
}

if = {
	limit = { has_dlc = "By Blood Alone" }
		set_technology = {
			aa_lmg = 1
			aa_cannon_1 = 1
			early_bombs = 1
			engines_1 = 1
			engines_2 = 1
			iw_small_airframe = 1
			basic_small_airframe = 1
			iw_medium_airframe = 1
			basic_medium_airframe = 1
			iw_large_airframe = 1
			basic_large_airframe = 1
			air_torpedoe_1 = 1
		}
		MAF_BBA_air_variants = yes
	else = {
		set_technology = {
			early_fighter = 1
			fighter1 = 1
			naval_bomber1 = 1
			early_bomber = 1
			strategic_bomber1 = 1
			tactical_bomber1 = 1
			CAS1 = 1
			cv_early_fighter = 1
			cv_naval_bomber1 = 1
			cv_CAS1 = 1
		}
	}
}

### Navy - MtG ###
set_technology = {
	early_ship_hull_light = 1
	basic_ship_hull_light = 1
	early_ship_hull_cruiser = 1
	basic_ship_hull_cruiser = 1
	panzerschiffe = 1
	early_ship_hull_submarine = 1
	basic_ship_hull_submarine = 1
	cruiser_submarines = 1
	early_ship_hull_carrier = 1
	basic_ship_hull_carrier = 1
	early_ship_hull_heavy = 1
	basic_ship_hull_heavy = 1
	pre_dreadnoughts = 1
	ship_hull_super_heavy = 1
	
	basic_naval_mines = 1

	## Modules##
	basic_battery = 1
	basic_light_battery = 1
	
	basic_heavy_battery = 1
	basic_depth_charges = 1
	basic_torpedo = 1
	improved_ship_torpedo_launcher = 1
	basic_cruiser_armor_scheme = 1
	basic_heavy_armor_scheme = 1
	
	mtg_transport = 1
}

#Delete colonial guard units
GER = {
	delete_unit_template_and_units = {
		division_template = "Auslands-Festungskommando"
	}
}

DJI = { give_military_access = TUR } #alongside German military access to Ottoman Empire

country_event = { id = germanwestasia.30 days = 1 } #Intro event, and give Germany the event too
GER = { country_event = { id = germanwestasia.30 days = 41 } }

country_event = { id = germanwestasia.99 days = 8 } #The Governor's backstory
GER = { country_event = { id = germanwestasia.99 days = 141 } }

#The East Africa Squadron
DJI = { country_event = { id = germanwestasia.95 days = 14 } }
SOM = { country_event = { id = germanwestasia.95 days = 14 } }
YEM = { country_event = { id = germanwestasia.95 days = 14 } }
SUD = { country_event = { id = germanwestasia.95 days = 14 } }
GEA = { country_event = { id = germanwestasia.95 days = 14 } }

#Warning of Imperial overstretch
DJI = { country_event = { id = sharedafrika.40 days = 16 } }
GEA = { country_event = { id = sharedafrika.40 days = 16 } }
PAF = { country_event = { id = sharedafrika.40 days = 16 } }
SFA = { country_event = { id = sharedafrika.40 days = 16 } }

#Skirmishes in Aden Protectorate
DJI = { country_event = { id = germanwestasia.46 days = 19 } }
GER = { country_event = { id = germanwestasia.46 days = 19 } }
YEM = { country_event = { id = germanwestasia.46 days = 19 } }
TUR = { country_event = { id = germanwestasia.46 days = 19 } }
EGY = { country_event = { id = germanwestasia.46 days = 19 } }
SUD = { country_event = { id = germanwestasia.46 days = 19 } }
ETH = { country_event = { id = germanwestasia.46 days = 19 } }
OMA = { country_event = { id = germanwestasia.46 days = 19 } }
SAU = { country_event = { id = germanwestasia.46 days = 19 } }
JBS = { country_event = { id = germanwestasia.46 days = 19 } }

#Give DJI the new Yemen intro event
DJI = { country_event = { id = yemen.1 days = 23 } }

#The Busaids and the Muscat Withdrawal
DJI = { country_event = { id = germanwestasia.116 days = 25 } }
TUR = { country_event = { id = germanwestasia.116 days = 125 } }
YEM = { country_event = { id = germanwestasia.116 days = 125 } }
SAU = { country_event = { id = germanwestasia.116 days = 125 } }
JBS = { country_event = { id = germanwestasia.116 days = 125 } }

GER = { country_event = { id = germanwestasia.48 days = 23 } } #Give Germany east Asia intro for flavour

#Djibouti, the Southern Gateway
DJI = { country_event = { id = germanwestasia.122 days = 35 } }
GER = { country_event = { id = germanwestasia.122 days = 35 } }
ETH = { country_event = { id = germanwestasia.122 days = 35 } }
SOM = { country_event = { id = germanwestasia.122 days = 35 } }
YEM = { country_event = { id = germanwestasia.122 days = 35 } }
SUD = { country_event = { id = germanwestasia.122 days = 35 } }

#War in India and consequences for regional neighbours
DJI = { country_event = { id = germanwestasia.44 days = 41 } }
MAF = { country_event = { id = germanwestasia.44 days = 41 } }
KEN = { country_event = { id = germanwestasia.44 days = 41 } }
UGA = { country_event = { id = germanwestasia.44 days = 41 } }
MLW = { country_event = { id = germanwestasia.44 days = 41 } }
MAG = { country_event = { id = germanwestasia.44 days = 41 } }
GEA = { country_event = { id = germanwestasia.44 days = 41 } }
DEI = { country_event = { id = germanwestasia.44 days = 41 } }
PAF = { country_event = { id = germanwestasia.44 days = 41 } }
POR = { country_event = { id = germanwestasia.44 days = 41 } }

#Black Monday
DJI = { country_event = { id = germanwestasia.32 days = 44 } }

#DKAEB event
ETH = { country_event = { id = ethiopia.2 days = 62 } }
DJI = { country_event = { id = ethiopia.2 days = 62 } }
MAF = { country_event = { id = ethiopia.2 days = 62 } }
GER = { country_event = { id = ethiopia.2 days = 62 } }

#Berberawi Sheep Sales Plunge
DJI = { country_event = { id = germanwestasia.94 days = 77 } }
SOM = { country_event = { id = germanwestasia.94 days = 77 } }
GER = { country_event = { id = germanwestasia.94 days = 77 } }
SAU = { country_event = { id = germanwestasia.94 days = 77 } }
YEM = { country_event = { id = germanwestasia.94 days = 77 } }
JBS = { country_event = { id = germanwestasia.94 days = 77 } }
OTT = { country_event = { id = germanwestasia.94 days = 77 } }
OMA = { country_event = { id = germanwestasia.94 days = 77 } }

#The DKAEB Railroad Nears Bankruptcy
country_event = { id = ethiopia.189 days = 88 } #important event for ETH and DJI

#Germany Divests from Kuwait
DJI = { country_event = { id = kuwait.1 days = 94 } }
GER = { country_event = { id = kuwait.1 days = 94 } }
TUR = { country_event = { id = kuwait.1 days = 94 } }
JBS = { country_event = { id = kuwait.1 days = 94 } }

#Eastern Bank Ceylon Collapses
DJI = { country_event = { id = germanwestasia.82 days = 97 } }
GER = { country_event = { id = germanwestasia.82 days = 97 } }
GEA = { country_event = { id = germanwestasia.82 days = 97 } }
CEY = { country_event = { id = germanwestasia.82 days = 97 } }

#The Suezkanal Zone
GER = { country_event = { id = germanwestasia.117 days = 105 } }
YEM = { country_event = { id = germanwestasia.117 days = 105 } }
OMA = { country_event = { id = germanwestasia.117 days = 105 } }
GEA = { country_event = { id = germanwestasia.117 days = 105 } }
DEI = { country_event = { id = germanwestasia.117 days = 105 } }
TUR = { country_event = { id = germanwestasia.117 days = 105 } }
EGY = { country_event = { id = germanwestasia.117 days = 105 } }
SUD = { country_event = { id = germanwestasia.117 days = 105 } }
ETH = { country_event = { id = germanwestasia.117 days = 105 } }
MAF = { country_event = { id = germanwestasia.117 days = 105 } }
SOM = { country_event = { id = germanwestasia.117 days = 105 } }
KEN = { country_event = { id = germanwestasia.117 days = 105 } }
ZZB = { country_event = { id = germanwestasia.117 days = 105 } }
PAF = { country_event = { id = germanwestasia.117 days = 105 } }
JAP = { country_event = { id = germanwestasia.117 days = 105 } }

#Ethnic clashes on Ceylon
DJI = { country_event = { id = germanwestasia.65 days = 111 } }
GER = { country_event = { id = germanwestasia.65 days = 111 } }

#State visit from the Sultan of Aussa
DJI = { country_event = { id = germanwestasia.60 days = 124 } }
GER = { country_event = { id = germanwestasia.60 days = 124 } }
ETH = { country_event = { id = germanwestasia.60 days = 124 } }
SOM = { country_event = { id = germanwestasia.60 days = 124 } }

#Red Sea Gates
GEA = { country_event = { id = germanwestasia.100 days = 133 } }
SUD = { country_event = { id = germanwestasia.100 days = 133 } }
EGY = { country_event = { id = germanwestasia.100 days = 133 } }
OTT = { country_event = { id = germanwestasia.100 days = 133 } }
YEM = { country_event = { id = germanwestasia.100 days = 133 } }
ETH = { country_event = { id = germanwestasia.100 days = 133 } }
SOM = { country_event = { id = germanwestasia.100 days = 133 } }

#Foundation of the Ceylon Workers Congress
DJI = { country_event = { id = germanwestasia.78 days = 144 } }
GER = { country_event = { id = germanwestasia.78 days = 144 } }
GEA = { country_event = { id = germanwestasia.78 days = 144 } }
CEY = { country_event = { id = germanwestasia.78 days = 144 } }

#Murder of Selvaradjalu Chettiar in Pondicherry
DJI = { country_event = { id = germanwestasia.91 days = 159 } }
GER = { country_event = { id = germanwestasia.91 days = 159 } }
DEH = { country_event = { id = germanwestasia.91 days = 159 } }
PRF = { country_event = { id = germanwestasia.91 days = 159 } }
BHC = { country_event = { id = germanwestasia.91 days = 159 } }
GEA = { country_event = { id = germanwestasia.91 days = 159 } }
NFA = { country_event = { id = germanwestasia.91 days = 159 } }
FRA = { country_event = { id = germanwestasia.91 days = 159 } }
INC = { country_event = { id = germanwestasia.91 days = 159 } }
CHI = { country_event = { id = germanwestasia.91 days = 159 } }

#Restoration of al-Mukha
DJI = { country_event = { id = germanwestasia.61 days = 167 } }
GER = { country_event = { id = germanwestasia.61 days = 167 } }
TUR = { country_event = { id = germanwestasia.61 days = 167 } }
YEM = { country_event = { id = germanwestasia.61 days = 167 } }

#Besse Sets Up Arabian Airlines
DJI = { country_event = { id = germanwestasia.66 days = 187 } }
GER = { country_event = { id = germanwestasia.66 days = 187 } }
TUR = { country_event = { id = germanwestasia.66 days = 187 } }
YEM = { country_event = { id = germanwestasia.66 days = 187 } }
SUD = { country_event = { id = germanwestasia.66 days = 187 } }
ETH = { country_event = { id = germanwestasia.66 days = 187 } }
SOM = { country_event = { id = germanwestasia.66 days = 187 } }
EGY = { country_event = { id = germanwestasia.66 days = 187 } }
SAU = { country_event = { id = germanwestasia.66 days = 187 } }
JBS = { country_event = { id = germanwestasia.66 days = 187 } }
OMA = { country_event = { id = germanwestasia.66 days = 187 } }

#Emigration of Dutch Burghers from Ceylon
DJI = { country_event = { id = germanwestasia.76 days = 198 } }
GER = { country_event = { id = germanwestasia.76 days = 198 } }
GEA = { country_event = { id = germanwestasia.76 days = 198 } }
KEN = { country_event = { id = germanwestasia.76 days = 198 } }
MLW = { country_event = { id = germanwestasia.76 days = 198 } }
AST = { country_event = { id = germanwestasia.76 days = 198 } }
HOL = { country_event = { id = germanwestasia.76 days = 198 } }
DEI = { country_event = { id = germanwestasia.76 days = 198 } }
CEY = { country_event = { id = germanwestasia.76 days = 198 } }

#Boom in Ali-Sabieh
DJI = { country_event = { id = germanwestasia.51 days = 213 } }
SOM = { country_event = { id = germanwestasia.51 days = 213 } }
ETH = { country_event = { id = germanwestasia.51 days = 213 } }

#Arab caste system
DJI = { country_event = { id = germanwestasia.58 days = 247 } }
YEM = { country_event = { id = germanwestasia.58 days = 247 } }
TUR = { country_event = { id = germanwestasia.58 days = 247 } }

#War on the Peninsula - from OTT
DJI = { country_event = { id = germanwestasia.128 days = 256 } }
EGY = { country_event = { id = germanwestasia.128 days = 256 } }
YEM = { country_event = { id = germanwestasia.128 days = 256 } }
OMA = { country_event = { id = germanwestasia.128 days = 256 } }
SUD = { country_event = { id = germanwestasia.128 days = 256 } }
ETH = { country_event = { id = germanwestasia.128 days = 256 } }
SOM = { country_event = { id = germanwestasia.128 days = 256 } }

#The Collapse of the Gulf State Economies
DJI = { country_event = { id = germanwestasia.114 days = 264 } }
GER = { country_event = { id = germanwestasia.114 days = 264 } }

#Abyan Scheme
DJI = { country_event = { id = germanwestasia.62 days = 274 } }
GER = { country_event = { id = germanwestasia.62 days = 274 } }
TUR = { country_event = { id = germanwestasia.62 days = 274 } }
YEM = { country_event = { id = germanwestasia.62 days = 274 } }

#Protection of Anuradhapura in Ceylon
DJI = { country_event = { id = germanwestasia.73 days = 287 } }
GER = { country_event = { id = germanwestasia.73 days = 287 } }
GEA = { country_event = { id = germanwestasia.73 days = 287 } }

#The Wilderness Dies
GER = { country_event = { id = germanwestasia.56 days = 300 } } 
MAF = { country_event = { id = germanwestasia.56 days = 300 } } 
KEN = { country_event = { id = germanwestasia.56 days = 300 } } 
UGA = { country_event = { id = germanwestasia.56 days = 300 } }
NGR = { country_event = { id = germanwestasia.56 days = 300 } }
GHA = { country_event = { id = germanwestasia.56 days = 300 } }
BSC = { country_event = { id = germanwestasia.56 days = 300 } }
MLW = { country_event = { id = germanwestasia.56 days = 300 } }
ZZB = { country_event = { id = germanwestasia.56 days = 300 } }
CMR = { country_event = { id = germanwestasia.56 days = 300 } }
NMB = { country_event = { id = germanwestasia.56 days = 300 } }
ZAM = { country_event = { id = germanwestasia.56 days = 300 } }
KOG = { country_event = { id = germanwestasia.56 days = 300 } }
COG = { country_event = { id = germanwestasia.56 days = 300 } }
KTG = { country_event = { id = germanwestasia.56 days = 300 } }
CIV = { country_event = { id = germanwestasia.56 days = 300 } }
IVO = { country_event = { id = germanwestasia.56 days = 300 } }
MAG = { country_event = { id = germanwestasia.56 days = 300 } }
PAF = { country_event = { id = germanwestasia.56 days = 300 } }
SIE = { country_event = { id = germanwestasia.56 days = 300 } }
SFA = { country_event = { id = germanwestasia.56 days = 300 } }
DJI = { country_event = { id = germanwestasia.56 days = 300 } }
ETH = { country_event = { id = germanwestasia.56 days = 300 } }
SOM = { country_event = { id = germanwestasia.56 days = 300 } }
ZIM = { country_event = { id = germanwestasia.56 days = 300 } }
SAF = { country_event = { id = germanwestasia.56 days = 300 } }

#Bickering over the Lake Tana Scheme
DJI = { country_event = { id = germanwestasia.96 days = 309 } }
ETH = { country_event = { id = germanwestasia.96 days = 309 } }
GER = { country_event = { id = germanwestasia.96 days = 309 } }
JAP = { country_event = { id = germanwestasia.96 days = 309 } }
MAF = { country_event = { id = germanwestasia.96 days = 309 } }
EGY = { country_event = { id = germanwestasia.96 days = 309 } }
SUD = { country_event = { id = germanwestasia.96 days = 309 } }

#Row over naval gun salutes in Aden
DJI = { country_event = { id = germanwestasia.47 days = 323 } }
GER = { country_event = { id = germanwestasia.47 days = 323 } }
YEM = { country_event = { id = germanwestasia.47 days = 323 } }
TUR = { country_event = { id = germanwestasia.47 days = 323 } }
OMA = { country_event = { id = germanwestasia.47 days = 323 } }
SAU = { country_event = { id = germanwestasia.47 days = 323 } }
JBS = { country_event = { id = germanwestasia.47 days = 323 } }

#The Sultanate of the Maldives
DJI = { country_event = { id = germanwestasia.129 days = 337 } }
DEH = { country_event = { id = germanwestasia.129 days = 337 } }
PRF = { country_event = { id = germanwestasia.129 days = 337 } }
BHC = { country_event = { id = germanwestasia.129 days = 337 } }

#Air Control Scandal
DJI = { country_event = { id = germanwestasia.63 days = 349 } }
GER = { country_event = { id = germanwestasia.63 days = 349 } }
GEA = { country_event = { id = germanwestasia.63 days = 349 } }
TUR = { country_event = { id = germanwestasia.63 days = 349 } }
YEM = { country_event = { id = germanwestasia.63 days = 349 } }
OMA = { country_event = { id = germanwestasia.63 days = 349 } }
JBS = { country_event = { id = germanwestasia.63 days = 349 } }
SAU = { country_event = { id = germanwestasia.63 days = 349 } }

#U Ottama Returned from German Exile
DJI = { country_event = { id = germanwestasia.108 days = 366 } }
GER = { country_event = { id = germanwestasia.108 days = 366 } }
BRM = { country_event = { id = germanwestasia.108 days = 366 } }
GEA = { country_event = { id = germanwestasia.108 days = 366 } }

#Afar-Somali clubs
DJI = { country_event = { id = germanwestasia.50 days = 379 } }
SOM = { country_event = { id = germanwestasia.50 days = 379 } }

#The Kuwaiti Question
DJI = { country_event = { id = kuwait.2 days = 385 } }
TUR = { country_event = { id = kuwait.2 days = 385 } }

#The Port of Berbera
DJI = { country_event = { id = germanwestasia.129 days = 393 } }
SOM = { country_event = { id = germanwestasia.129 days = 393 } }
YEM = { country_event = { id = germanwestasia.129 days = 393 } }

#Attacks on the Cercle de Pondichéry
DJI = { country_event = { id = germanwestasia.92 days = 406 } }
GER = { country_event = { id = germanwestasia.92 days = 406 } }
DEH = { country_event = { id = germanwestasia.92 days = 406 } }
PRF = { country_event = { id = germanwestasia.92 days = 406 } }
BHC = { country_event = { id = germanwestasia.92 days = 406 } }
GEA = { country_event = { id = germanwestasia.92 days = 406 } }
NFA = { country_event = { id = germanwestasia.92 days = 406 } }
FRA = { country_event = { id = germanwestasia.92 days = 406 } }

#Recovery in Suez Trade
DJI = { country_event = { id = germanwestasia.118 days = 420 } }
GER = { country_event = { id = germanwestasia.118 days = 420 } }
YEM = { country_event = { id = germanwestasia.118 days = 420 } }
OMA = { country_event = { id = germanwestasia.118 days = 420 } }
GEA = { country_event = { id = germanwestasia.118 days = 420 } }
DEI = { country_event = { id = germanwestasia.118 days = 420 } }
TUR = { country_event = { id = germanwestasia.118 days = 420 } }
EGY = { country_event = { id = germanwestasia.118 days = 420 } }
SUD = { country_event = { id = germanwestasia.118 days = 420 } }
ETH = { country_event = { id = germanwestasia.118 days = 420 } }
MAF = { country_event = { id = germanwestasia.118 days = 420 } }
SOM = { country_event = { id = germanwestasia.118 days = 420 } }
KEN = { country_event = { id = germanwestasia.118 days = 420 } }
ZZB = { country_event = { id = germanwestasia.118 days = 420 } }
PAF = { country_event = { id = germanwestasia.118 days = 420 } }
JAP = { country_event = { id = germanwestasia.118 days = 420 } }

#Alarm in Peking movie
DJI = { country_event = { id = germanwestasia.55 days = 435 } }
GER = { country_event = { id = germanwestasia.55 days = 435 } }
GEA = { country_event = { id = germanwestasia.55 days = 435 } }
ENG = { country_event = { id = germanwestasia.55 days = 435 } }
FRA = { country_event = { id = germanwestasia.55 days = 435 } }
			every_country = {
				limit = {
					OR = {
						tag = LEP
						tag = YUN
						tag = SHX
						tag = XSM
						tag = SZC
						tag = LEC
						tag = QIE
						tag = ANQ
						tag = FNG
						tag = JAP
						tag = TRM
						tag = SQI
						tag = SIK
						tag = TAN
						tag = TIB
						tag = MON
						tag = SZC
					}
				}
			country_event = { #Chinese tags
			id = germanwestasia.55
			days = 435
		}
	}

#Increasing Unrest on German Bahrain
DJI = { country_event = { id = germanwestasia.111 days = 452 } }
GER = { country_event = { id = germanwestasia.111 days = 452 } }
JBS = { country_event = { id = germanwestasia.111 days = 452 } }
SAU = { country_event = { id = germanwestasia.111 days = 452 } }
OMA = { country_event = { id = germanwestasia.111 days = 452 } }

#Riot in Djibouti over Arab privileges
DJI = { country_event = { id = germanwestasia.59 days = 464 } }
GER = { country_event = { id = germanwestasia.59 days = 464 } }
YEM = { country_event = { id = germanwestasia.59 days = 464 } }
TUR = { country_event = { id = germanwestasia.59 days = 464 } }

#The German Andaman and Nicobars
DJI = { country_event = { id = germanwestasia.109 days = 478 } }
GER = { country_event = { id = germanwestasia.109 days = 478 } }
GEA = { country_event = { id = germanwestasia.109 days = 478 } }
SWE = { country_event = { id = germanwestasia.109 days = 478 } }

#Labour migration in Somaliland
DJI = { country_event = { id = germanwestasia.52 days = 499 } }
SOM = { country_event = { id = germanwestasia.52 days = 499 } }

#Akbar protests Muslim restrictions in Asia and Africa
DJI = { country_event = { id = germanwestasia.72 days = 525 } }
GER = { country_event = { id = germanwestasia.72 days = 525 } }
GEA = { country_event = { id = germanwestasia.72 days = 525 } }
CEY = { country_event = { id = germanwestasia.72 days = 525 } }
MAF = { country_event = { id = germanwestasia.72 days = 525 } }
MLW = { country_event = { id = germanwestasia.72 days = 525 } }
KEN = { country_event = { id = germanwestasia.72 days = 525 } }
ZZB = { country_event = { id = germanwestasia.72 days = 525 } }

#Death of Abba Nefso in Ethiopia
DJI = { country_event = { id = germanwestasia.97 days = 544 } }
ETH = { country_event = { id = germanwestasia.97 days = 544 } }
GER = { country_event = { id = germanwestasia.97 days = 544 } }
MAF = { country_event = { id = germanwestasia.97 days = 544 } }
SOM = { country_event = { id = germanwestasia.97 days = 544 } }

#Development in German Dankalia
DJI = { country_event = { id = germanwestasia.119 days = 551 } }
GER = { country_event = { id = germanwestasia.119 days = 551 } }
ETH = { country_event = { id = germanwestasia.119 days = 551 } }

#Cricket Boom in German Asia
DJI = { country_event = { id = germanwestasia.84 days = 562 } }
GER = { country_event = { id = germanwestasia.84 days = 562 } }
GEA = { country_event = { id = germanwestasia.84 days = 562 } }
CEY = { country_event = { id = germanwestasia.84 days = 562 } }

#German reforms to law
DJI = { country_event = { id = germanwestasia.53 days = 587 } }
GER = { country_event = { id = germanwestasia.53 days = 587 } }

#At War in the Diamond Fields
GER = { country_event = { id = germanwestasia.57 days = 610 } } 
MAF = { country_event = { id = germanwestasia.57 days = 610 } } 
KEN = { country_event = { id = germanwestasia.57 days = 610 } } 
UGA = { country_event = { id = germanwestasia.57 days = 610 } }
NGR = { country_event = { id = germanwestasia.57 days = 610 } }
GHA = { country_event = { id = germanwestasia.57 days = 610 } }
BSC = { country_event = { id = germanwestasia.57 days = 610 } }
MLW = { country_event = { id = germanwestasia.57 days = 610 } }
ZZB = { country_event = { id = germanwestasia.57 days = 610 } }
CMR = { country_event = { id = germanwestasia.57 days = 610 } }
NMB = { country_event = { id = germanwestasia.57 days = 610 } }
ZAM = { country_event = { id = germanwestasia.57 days = 610 } }
KOG = { country_event = { id = germanwestasia.57 days = 610 } }
COG = { country_event = { id = germanwestasia.57 days = 610 } }
KTG = { country_event = { id = germanwestasia.57 days = 610 } }
CIV = { country_event = { id = germanwestasia.57 days = 610 } }
IVO = { country_event = { id = germanwestasia.57 days = 610 } }
MAG = { country_event = { id = germanwestasia.57 days = 610 } }
PAF = { country_event = { id = germanwestasia.57 days = 610 } }
SIE = { country_event = { id = germanwestasia.57 days = 610 } }
SFA = { country_event = { id = germanwestasia.57 days = 610 } }
DJI = { country_event = { id = germanwestasia.57 days = 610 } }
ETH = { country_event = { id = germanwestasia.57 days = 610 } }
SOM = { country_event = { id = germanwestasia.57 days = 610 } }
ZIM = { country_event = { id = germanwestasia.57 days = 610 } }
SAF = { country_event = { id = germanwestasia.57 days = 610 } }

#Lycée Français de Pondichéry Enforces German Language
every_country = {
	limit = {
		OR = {
			tag = DJI
			tag = GER
			tag = NFA
			tag = FRA
		}
	}
	country_event = {
		id = germanwestasia.93
		days = 623
	}
}

#Egyptian Smugglers Arrested in Subayhi
DJI = { country_event = { id = germanwestasia.81 days = 644 } }
EGY = { country_event = { id = germanwestasia.81 days = 644 } }
SUD = { country_event = { id = germanwestasia.81 days = 644 } }
YEM = { country_event = { id = germanwestasia.81 days = 644 } }

#[PER.GetAdjective]-Ottoman Tensions in the Gulf
DJI = { country_event = { id = germanwestasia.112 days = 664 } }
GER = { country_event = { id = germanwestasia.112 days = 664 } }
JBS = { country_event = { id = germanwestasia.112 days = 664 } }
SAU = { country_event = { id = germanwestasia.112 days = 664 } }
OMA = { country_event = { id = germanwestasia.112 days = 664 } }

#Expansion of Ratmalana airport in Ceylon
DJI = { country_event = { id = germanwestasia.71 days = 685 } }
GER = { country_event = { id = germanwestasia.71 days = 685 } }
GEA = { country_event = { id = germanwestasia.71 days = 685 } }
CEY = { country_event = { id = germanwestasia.71 days = 685 } }

#The Majlis Movement
TUR = { country_event = { id = kuwait.3 days = 698 } }
ASY = { country_event = { id = kuwait.3 days = 698 } }

#Resolution to the Kamaran Dispute
DJI = { country_event = { id = germanwestasia.68 days = 713 } }
GER = { country_event = { id = germanwestasia.68 days = 713 } }
YEM = { country_event = { id = germanwestasia.68 days = 713 } }
TUR = { country_event = { id = germanwestasia.68 days = 713 } }
EGY = { country_event = { id = germanwestasia.68 days = 713 } }
SUD = { country_event = { id = germanwestasia.68 days = 713 } }
ETH = { country_event = { id = germanwestasia.68 days = 713 } }
OMA = { country_event = { id = germanwestasia.68 days = 713 } }
SAU = { country_event = { id = germanwestasia.68 days = 713 } }
JBS = { country_event = { id = germanwestasia.68 days = 713 } }

#Sinclair Oil Company Abandons the Ogaden
every_country = {
	limit = {
		OR = {
			tag = DJI
			tag = ETH
			tag = SOM
			tag = GER
			tag = MAF
			tag = USA
		}
	}
	country_event = {
		id = germanwestasia.98
		days = 728
	}
}

#Lycée Français de Pondichéry Enforces German Language
every_country = {
	limit = {
		OR = {
			tag = DJI
			tag = GER
			tag = DEH
			tag = PRF
			tag = BHC
			tag = GEA
			tag = NFA
			tag = FRA
		}
	}
	country_event = {
		id = germanwestasia.93
		days = 734
	}
}

#Death of Leo Frobenius
DJI = { country_event = { id = germanwestasia.80 days = 745 } }
MAF = { country_event = { id = germanwestasia.80 days = 745 } }
GER = { country_event = { id = germanwestasia.80 days = 745 } }
EGY = { country_event = { id = germanwestasia.80 days = 745 } }
SUD = { country_event = { id = germanwestasia.80 days = 745 } }
ETH = { country_event = { id = germanwestasia.80 days = 745 } }
BSC = { country_event = { id = germanwestasia.80 days = 745 } }
ZAM = { country_event = { id = germanwestasia.80 days = 745 } }
CIV = { country_event = { id = germanwestasia.80 days = 745 } }
TOG = { country_event = { id = germanwestasia.80 days = 745 } }

#Rise of the Arakan National Congress
DJI = { country_event = { id = germanwestasia.104 days = 759 } }
GER = { country_event = { id = germanwestasia.104 days = 759 } }
BRM = { country_event = { id = germanwestasia.104 days = 759 } }
GEA = { country_event = { id = germanwestasia.104 days = 759 } }

#Land Alienation Issues
DJI = { country_event = { id = germanwestasia.75 days = 777 } }
GER = { country_event = { id = germanwestasia.75 days = 777 } }
GEA = { country_event = { id = germanwestasia.75 days = 777 } }
CEY = { country_event = { id = germanwestasia.75 days = 777 } }

#Excavations in Baraqish
DJI = { country_event = { id = germanwestasia.64 days = 799 } }
GER = { country_event = { id = germanwestasia.64 days = 799 } }
TUR = { country_event = { id = germanwestasia.64 days = 799 } }
YEM = { country_event = { id = germanwestasia.64 days = 799 } }
SAU = { country_event = { id = germanwestasia.64 days = 799 } }
JBS = { country_event = { id = germanwestasia.64 days = 799 } }
OMA = { country_event = { id = germanwestasia.64 days = 799 } }

#Clashes in the Arab Gulf
DJI = { country_event = { id = germanwestasia.113 days = 804 } }
GER = { country_event = { id = germanwestasia.113 days = 804 } }
JBS = { country_event = { id = germanwestasia.113 days = 804 } }
SAU = { country_event = { id = germanwestasia.113 days = 804 } }
OMA = { country_event = { id = germanwestasia.113 days = 804 } }

#Reforms to the Ceylon Civil Service
DJI = { country_event = { id = germanwestasia.77 days = 819 } }
GER = { country_event = { id = germanwestasia.77 days = 819 } }
GEA = { country_event = { id = germanwestasia.77 days = 819 } }
CEY = { country_event = { id = germanwestasia.77 days = 819 } }

#The Rise of the Aden Association
DJI = { country_event = { id = germanwestasia.69 days = 844 } }
YEM = { country_event = { id = germanwestasia.69 days = 844 } }
TUR = { country_event = { id = germanwestasia.69 days = 844 } }

#Buddhist Fury Over Conversions
DJI = { country_event = { id = germanwestasia.83 days = 878 } }
GER = { country_event = { id = germanwestasia.83 days = 878 } }
GEA = { country_event = { id = germanwestasia.83 days = 878 } }
CEY = { country_event = { id = germanwestasia.83 days = 878 } }

#The Qat Craze
DJI = { country_event = { id = germanwestasia.70 days = 899 } }
YEM = { country_event = { id = germanwestasia.70 days = 899 } }
TUR = { country_event = { id = germanwestasia.70 days = 899 } }
OMA = { country_event = { id = germanwestasia.70 days = 899 } }
SAU = { country_event = { id = germanwestasia.70 days = 899 } }
JBS = { country_event = { id = germanwestasia.70 days = 899 } }
ETH = { country_event = { id = germanwestasia.70 days = 899 } }
EGY = { country_event = { id = germanwestasia.70 days = 899 } }
SUD = { country_event = { id = germanwestasia.70 days = 899 } }
SOM = { country_event = { id = germanwestasia.70 days = 899 } }
KEN = { country_event = { id = germanwestasia.70 days = 899 } }
ZZB = { country_event = { id = germanwestasia.70 days = 899 } }
MAF = { country_event = { id = germanwestasia.70 days = 899 } }
MLW = { country_event = { id = germanwestasia.70 days = 899 } }
PAF = { country_event = { id = germanwestasia.70 days = 899 } }

#Foundation of Wasgamuwa Reserve
DJI = { country_event = { id = germanwestasia.87 days = 924 } }
GER = { country_event = { id = germanwestasia.87 days = 924 } }
CEY = { country_event = { id = germanwestasia.87 days = 924 } }
GEA = { country_event = { id = germanwestasia.87 days = 924 } }

#Deutsche Erdoel Abandons Yenangyaung
DJI = { country_event = { id = germanwestasia.107 days = 940 } }
GER = { country_event = { id = germanwestasia.107 days = 940 } }
BRM = { country_event = { id = germanwestasia.107 days = 940 } }
GEA = { country_event = { id = germanwestasia.107 days = 940 } }
JAP = { country_event = { id = germanwestasia.107 days = 940 } }

#Rise of Hadhrami nationalism
DJI = { country_event = { id = germanwestasia.67 days = 965 } }
YEM = { country_event = { id = germanwestasia.67 days = 965 } }
TUR = { country_event = { id = germanwestasia.67 days = 965 } }
OMA = { country_event = { id = germanwestasia.67 days = 965 } }
SAU = { country_event = { id = germanwestasia.67 days = 965 } }
JBS = { country_event = { id = germanwestasia.67 days = 965 } }

#College of Ayurvedic Medicine Set Up in Colombo
DJI = { country_event = { id = germanwestasia.74 days = 988 } }
GER = { country_event = { id = germanwestasia.74 days = 988 } }
GEA = { country_event = { id = germanwestasia.74 days = 988 } }
CEY = { country_event = { id = germanwestasia.74 days = 988 } }

#Restrictions on Plantation Tamils Come Into Force
DJI = { country_event = { id = germanwestasia.86 days = 1033 } }
GER = { country_event = { id = germanwestasia.86 days = 1033 } }
CEY = { country_event = { id = germanwestasia.86 days = 1033 } }
GEA = { country_event = { id = germanwestasia.86 days = 1033 } }

#Anti-Indian Riots in Burma
DJI = { country_event = { id = germanwestasia.106 days = 1085 } }
GER = { country_event = { id = germanwestasia.106 days = 1085 } }
BRM = { country_event = { id = germanwestasia.106 days = 1085 } }
GEA = { country_event = { id = germanwestasia.106 days = 1085 } }

#The Collapse of the Gulf State Economies
DJI = { country_event = { id = germanwestasia.115 days = 1143 } }
GER = { country_event = { id = germanwestasia.115 days = 1143 } }
JBS = { country_event = { id = germanwestasia.115 days = 1143 } }
SAU = { country_event = { id = germanwestasia.115 days = 1143 } }
OMA = { country_event = { id = germanwestasia.115 days = 1143 } }
PER = { country_event = { id = germanwestasia.115 days = 1143 } }

#The Stotzingen-Neufeld Missions
DJI = { country_event = { id = germanwestasia.79 days = 1200 } }
GER = { country_event = { id = germanwestasia.79 days = 1200 } }
TUR = { country_event = { id = germanwestasia.79 days = 1200 } }
YEM = { country_event = { id = germanwestasia.79 days = 1200 } }
ETH = { country_event = { id = germanwestasia.79 days = 1200 } }
SUD = { country_event = { id = germanwestasia.79 days = 1200 } }
SOM = { country_event = { id = germanwestasia.79 days = 1200 } }
MAF = { country_event = { id = germanwestasia.79 days = 1200 } }

#The Smashing of the Tadjoura Circle
country_event = { id = germanwestasia.123 days = 1276 }
GER = { country_event = { id = germanwestasia.123 days = 1276 } }
ETH = { country_event = { id = germanwestasia.123 days = 1276 } }
SOM = { country_event = { id = germanwestasia.123 days = 1276 } }
YEM = { country_event = { id = germanwestasia.123 days = 1276 } }
SUD = { country_event = { id = germanwestasia.123 days = 1276 } }

#Famine in German Bahrain
DJI = { country_event = { id = germanwestasia.110 days = 1359 } }
GER = { country_event = { id = germanwestasia.110 days = 1359 } }
JBS = { country_event = { id = germanwestasia.110 days = 1359 } }
SAU = { country_event = { id = germanwestasia.110 days = 1359 } }
OMA = { country_event = { id = germanwestasia.110 days = 1359 } }
PER = { country_event = { id = germanwestasia.110 days = 1359 } }

set_cosmetic_tag = DJI_GERMAN

set_research_slots = 3
set_stability = 0.27
set_war_support = 0.18

set_popularities = {
	totalist = 0
	radical_socialist = 1
	syndicalist = 1
	social_democrat = 3
	social_liberal = 10
	market_liberal = 5
	social_conservative = 15
	authoritarian_democrat = 20
	paternal_autocrat = 44
	national_populist = 1
}

GER = {
	set_autonomy = {
		target = DJI
		autonomous_state = kr_colonial_government
	}
}

DJI = {
	set_autonomy = {
		target = OMA
		autonomous_state = kr_default_puppet
	}
}

GER = { add_opinion_modifier = { target = DJI modifier = colonial_master } }

if = {
	limit = {
		is_ai = no
	}
	set_rule = {
		can_send_volunteers = yes
		can_be_spymaster = yes
		can_decline_call_to_war = yes
		can_not_declare_war = no
		can_puppet = yes
		units_deployed_to_overlord = yes
	}
}

#Seize Djibouti navy of German
GER = {
	transfer_ship = {
		prefer_name = "SMS Friedrich der Große"
		type = ship_hull_heavy_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS Prinz Eitel Friedrich"
		type = ship_hull_heavy_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS Bremse"
		type = ship_hull_cruiser_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS Nürnberg"
		type = ship_hull_cruiser_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 109"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 110"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 111"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 112"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 103"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 104"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 135"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 136"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 137"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 138"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 139"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 140"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 141"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 142"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 143"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 144"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 163"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 163"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 164"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 165"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 166"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 167"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 168"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
	}
	transfer_ship = {
		prefer_name = "SMS B 169"
		type = ship_hull_light_1
		target = DJI
		exclude_refitting = no
		}
	}

#Siamese seized territories of Malaya
GEA = {
	add_state_core = 751
	add_state_core = 830
	add_state_core = 999
}

#Mitteleuropa
DJI = {
	GER_add_to_mitteleuropa = yes
}

add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 1600 producer = GER }
add_equipment_to_stockpile = { type = infantry_equipment_1 amount = 400 producer = GER }
add_equipment_to_stockpile = { type = gw_tank_equipment amount = 20 producer = GER }
add_equipment_to_stockpile = { type = artillery_equipment_1 amount = 150 producer = GER }

add_manpower = 15000

add_ideas = {
	DJI_Colonial_Nation
	DJI_chaotic_governance
	DJI_important_port
	DJI_east_of_suez
	DJI_aog_backing
}

set_politics = {
	ruling_party = paternal_autocrat
	last_election = "1932.6.21"
	election_frequency = 48
	elections_allowed = no
}

create_corps_commander = {
	name = "Wilhelm Faupel"
	portrait_path = "gfx/leaders/NMB/Portrait_NMB_Wilhelm_Faupel.png"
	traits = {
		old_guard
		career_officer
	}
	skill = 4
	attack_skill = 5
	defense_skill = 3
	planning_skill = 2
	logistics_skill = 2
	id = 22993
}

create_country_leader = {
	name = "Hassan Gouled Aptidon"
	desc = "POLITICS_GOULED_DESC"
	picture = "gfx/leaders/DJI/Portrait_Djbouti_Hassan_Gouled_Aptidon.png"
	expire = "1.1.1"
	ideology = socdem_left_nationalism_subtype 
	traits = {}
}

create_country_leader = {
	name = "Hassan Gouled Aptidon"
	desc = "POLITICS_GOULED_DESC"
	picture = "gfx/leaders/DJI/Portrait_Djbouti_Hassan_Gouled_Aptidon.png"
	expire = "1.1.1"
	ideology = soclib_warlordism_subtype 
	traits = {}
}

create_country_leader = {
	name = "Hassan Gouled Aptidon"
	desc = "POLITICS_GOULED_DESC"
	picture = "gfx/leaders/DJI/Portrait_Djbouti_Hassan_Gouled_Aptidon.png"
	expire = "1.1.1"
	ideology = liberal_conservative_subtype 
	traits = {}
}

create_country_leader = {
	name = "Hassan Gouled Aptidon"
	desc = "POLITICS_GOULED_DESC"
	picture = "gfx/leaders/DJI/Portrait_Djbouti_Hassan_Gouled_Aptidon.png"
	expire = "1.1.1"
	ideology = moderate_authoritarianism_subtype
	traits = {}
}

create_country_leader = {
	name = "Ludwig Bockholt"
	desc = "POLITICS_BOCKHOLT_DESC"
	picture = "gfx/leaders/MAF/Portrait_Mittelafrika_Ludwig_Bockholt.png"
	expire = "1.1.1"
	ideology = autocratic_colonial_govt_subtype
}

create_country_leader = {
	name = "Pierre Nouailhetas"
	desc = "POLITICS_NOUILHETAS_DESC"
	picture = "gfx/leaders/DJI/Portrait_Djbouti_Pierre_Nouailhetas.png"
	expire = "1.1.1"
	ideology = colonial_govt_subtype
	traits = {}
}
create_country_leader = {
	name = "Mahmoud Harbi"
	desc = "POLITICS_HARBI_DESC"
	picture = "gfx/leaders/DJI/Portrait_Djbouti_Mahmoud_Harbi.png"
	expire = "1.1.1"
	ideology = natpop_pan_somalism_subtype
	traits = {}
}


###Corps Commanders ###


create_corps_commander = {
	name = "Ludwig Bockholt"
	portrait_path = "gfx/leaders/MAF/Portrait_Mittelafrika_Ludwig_Bockholt.png"
	traits = { naval_liason naval_invader war_hero }
	skill = 2
	attack_skill = 2
	defense_skill = 2
	maneuvering_skill = 2
	coordination_skill = 2
	id = 36866
}

create_corps_commander = {
	name = "Pierre Nouailhetas"
	portrait_path = "gfx/leaders/DJI/Portrait_Djbouti_Pierre_Nouailhetas.png"
	traits = { naval_liason naval_invader }
	skill = 2
	attack_skill = 1
	defense_skill = 2
	maneuvering_skill = 2
	coordination_skill = 1
	id = 36867
}

create_corps_commander = {
	name = "Mbutu Fyodorovich"
	portrait_path = "gfx/leaders/DJI/Portrait_Djbouti_Mbutu_Fyodorovich.png"
	traits = { war_hero }
	skill = 2
	attack_skill = 1
	defense_skill = 2
	maneuvering_skill = 2
	coordination_skill = 1
	id = 36868
}

create_corps_commander = {
	name = "Grigory Pushkin"
	portrait_path = "gfx/leaders/DJI/Portrait_Djbouti_Grigory_Pushkin.png"
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 2
	maneuvering_skill = 2
	coordination_skill = 1
	id = 36869
}

create_navy_leader = {
	name = "Ludwig Bockholt"
	portrait_path = "gfx/leaders/MAF/Portrait_Mittelafrika_Ludwig_Bockholt.png"
	traits = { air_controller }
	skill = 2
	attack_skill = 2
	defense_skill = 2
	maneuvering_skill = 2
	coordination_skill = 2
	id = 36865
}

create_navy_leader = {
	name = "Ernst-Felix Krüder"
	portrait_path = "gfx/leaders/MAF/Portrait_Mittelafrika_Ernst_Felix_Krueder.png"
	traits = { bold }
	skill = 2
	attack_skill = 3
	defense_skill = 1
	maneuvering_skill = 3
	coordination_skill = 2
	id = 36866
}